package com.ky.gp.app.controller;

import com.ky.common.vo.R;
import com.ky.gp.app.service.CheckinsHomeFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @Author 小胤
 * @Date 2024/6/18 21:04
 * @注释
 */
@RestController
@RequestMapping("/api/home/checkins")
public class CheckinsHomeController {
    @Autowired
    private CheckinsHomeFeign checkinsHomeFeign;
    @RequestMapping("/clickInRecord")
    public R clickInRecord() {
        return checkinsHomeFeign.clickInRecord();
    }
    @RequestMapping("/lastClickInRecord")
    public  R lastClickInRecord(){
        return checkinsHomeFeign.lastClickInRecord();
    }
    @RequestMapping("/todayClickIn")
    public R todayClickIn(){
        return checkinsHomeFeign.todayClickIn();
    }
}
